namespace RenameX.Rules
{
    public class AddPrefixRule : RuleBase
    {
        public override string Name => "前缀";

        private string _prefix = string.Empty;
        public string Prefix { get => _prefix; set => SetProperty(ref _prefix, value); }

        public override string Apply(string originalName)
        {
            return string.Concat(Prefix ?? string.Empty, originalName);
        }
    }
}


